home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 1.8 KB | 71 lines | [TEXT/MPS ] |
- /*
- File: HIItemStorage.idl
-
- Contains: Interfaces to the storage abstraction object that backs HILists and HITables.
-
- Version: Technology: System 8.0
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1995-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
- */
-
-
- #ifndef __HIITEMSTORAGE_IDL__
- #define __HIITEMSTORAGE_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #include <Types.idl>
- #include <HIObjects.idl>
- #include <HIImagingObjects.idl>
-
- /* ########################################################################
-
- HIStorage
-
- Storage for list/table items
-
- ######################################################################## */
- interface HIItemStorage : SOMObject
- {
- OSStatus Init();
- void Terminate();
-
- OSStatus AddRows( in UInt32 rowIndex, in UInt32 rowCount );
- OSStatus AddColumns( in UInt32 columnIndex, in UInt32 columnCount );
- OSStatus DeleteRow( in UInt32 rowIndex );
- OSStatus DeleteColumn( in UInt32 columnIndex );
- OSStatus SetItemImage( in UInt32 rowIndex, in UInt32 columnIndex,
- in ConstHIImageRef imageRef, in HIAdoptionFlags imageAdoptionFlags);
- OSStatus GetItemImage( in UInt32 rowIndex, in UInt32 columnIndex, out HIImageRef imageRefPtr );
-
- #ifdef __SOMIDL__
- implementation
- {
-
- passthru C_h = "#include <HIObjects.h>"
- "#include <HIImagingObjects.h>";
- passthru C_xh = "#include <HIObjects.xh>"
- "#include <HIImagingObjects.xh>";
-
- releaseorder: Init,
- Terminate,
- AddRows,
- AddColumns,
- DeleteRow,
- DeleteColumn,
- SetItemImage,
- GetItemImage;
- };
- #endif
- };
-
- #endif
-